package com.service.system;

import com.domain.system.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface RoleService {

    PageInfo findAll(String companyId, Integer page, Integer size);

    Integer save(Role role);

    Integer update(Role role);

    Role findById(String id);

    Integer delete(String id);

    List<Role> findAll(String companyId);

    List<Role> findRoleById(String id);
}
